//
//  DrawerViewController.h
//  TT
//
//  Created by lanou3g on 16/3/10.
//  Copyright © 2016年 Super磊. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DrawerViewController : UIViewController


//中间视图控制器
@property(nonatomic,strong)UIViewController *rootVC;

//侧滑栏控制器
@property(nonatomic,strong)UIViewController *leftVC;
@property(nonatomic,strong)UIViewController *rightVC;


//手势
@property(nonatomic,strong)UIGestureRecognizer *tap;

//设置中间视图控制器
-(void)setRootViewController:(UIViewController *)viewController;

//展示中间视图(关闭抽屉)
-(void)showRootViewController:(UIViewController *)viewController;

//打开抽屉
-(void)showleftViewController:(UIViewController *)leftViewController;
-(void)showRightViewController:(UIViewController *)rightViewController;

@end
